<?php

/**
 * series actions.
 *
 * @package    sanziniafilms
 * @subpackage series
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class seriesActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)
  {
    $this->getResponse()->setTitle("Series | Sanzinia Films");
	$query = Doctrine::getTable('Video')->createQuery('a')
		->orderBy('a.created_at ASC');
	$this->listVideos = $query->execute();
  }
}
